手机文件夹"音乐"插到电脑上后变成了"音乐.exe"就打不开了,为什么?是中病毒了吗?

来源:百度知道 编辑:UC知道 时间:2024/06/01 00:23:36

中病毒了,它是一个被复制出来的文件,真的文件已经隐藏了.

用以下代码找回,复制以下代码到记事本中保存扩展名vbs.

'清除U盘病毒 ——Powered by Breakan
result=MsgBox("是否已插入U盘?" & vbTab & "^o^",4,"清除U盘病毒 -Powered by Breakan")
If result=7 Then WScript.Quit

Set objws=WScript.CreateObject("wscript.shell")
Set objfs=CreateObject("scripting.filesystemobject")
sign=0
For Each d In objfs.Drives
If d.DriveType=1 Then
sign=1
Call KillVirus(d.DriveLetter)
End If
Next
If sign=0 Then
MsgBox "没有检测到U盘 - -!"
ElseIf sign=1 Then
MsgBox "病毒清除完毕 ^o^"
End If

Sub KillVirus(drv)
Set objd=objfs.GetFolder(drv & ":\")
'检测是否有autorun.ini并删除
autofile=drv & ":\autorun.inf"
If objfs.FileExists(autofile) Then